'use strict';

import { index } from './root.controller';
import { testApi } from './apis/controllers/test';
import { category } from './apis/controllers/category';
import { StaticFileRead } from './static/static.controller';
import Router from 'koa-router';

const root = new Router();
const api = new Router();
// const Static = new Router();

root.get('/', index);
root.get('/static', StaticFileRead);
// Static.get('', StaticFileRead);
api.get('/test', testApi);
api.get('/category', category);


export default { api, root, };
